package com.rmb.client;

import com.rmb.fremarker.client.RmbServiceFeign;
import com.rmb.service.impl.BaseTaskManageMentHystrixImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @version 1.0
 * @Author ZhaoMuYang
 * @Date 2021/1/11 15:19
 */
@FeignClient(name = RmbServiceFeign.RMB_DATASOURCE,fallback = BaseTaskManageMentHystrixImpl.class)
public interface DataSourceServiceClient {

    /**
     * getAllDataSource
     * @return
     */
    @GetMapping("/rmb/source/getAllDataSource")
    public List<String> getAllDataSource();
}
